﻿using Avalonia.Controls;

namespace MarkdownRow.Edit.CompletionView;

public partial class DescriptionView : UserControl
{
    public DescriptionView(string description,string text)
    {
        InitializeComponent();
        DescriptionBlock = this.FindControl<TextBlock>("DescriptionBlock");
        TextBlock = this.FindControl<TextBlock>("TextBlock");
        DescriptionBlock!.Text = description;
        TextBlock!.Text = text;
    }
}